/**
 * 管理后台组件统一导出
 * 这个文件作为索引，统一导出所有管理后台组件，方便在其他文件中引用
 */

// 主要面板组件
export { default as DashboardPanel } from './DashboardPanel.vue';
export { default as UserManagement } from './UserManagement.vue';
export { default as QuestionManagement } from './QuestionManagement.vue';
export { default as PendingQuestions } from './PendingQuestions.vue';
export { default as AnswerManagement } from './AnswerManagement.vue';
export { default as CommentManagement } from './CommentManagement.vue';
export { default as PlatformStatistics } from './PlatformStatistics.vue';
export { default as SensitiveContentManagement } from './SensitiveContentManagement.vue';

// 敏感内容管理相关组件
export { default as SensitiveHistory } from './SensitiveHistory.vue';
export { default as SensitiveWordRanking } from './SensitiveWordRanking.vue';
export { default as AutoReviewConfig } from './AutoReviewConfig.vue';
export { default as SensitiveTestDialog } from './SensitiveTestDialog.vue';

// 批量操作组件
export { default as UserBatchActions } from './UserBatchActions.vue';
export { default as QuestionBatchActions } from './QuestionBatchActions.vue';
export { default as AnswerBatchActions } from './AnswerBatchActions.vue';
export { default as CommentBatchActions } from './CommentBatchActions.vue';

// 统计组件
export { default as UserStatistics } from './UserStatistics.vue';

// 导出组件的层次结构图，方便在文档中使用
export const componentHierarchy = {
  AdminPage: {
    DashboardPanel: {},
    UserManagement: {
      UserBatchActions: {},
      UserStatistics: {}
    },
    QuestionManagement: {
      QuestionBatchActions: {}
    },
    PendingQuestions: {
      QuestionBatchActions: {} // 共享组件
    },
    AnswerManagement: {
      AnswerBatchActions: {}
    },
    CommentManagement: {
      CommentBatchActions: {}
    },
    PlatformStatistics: {},
    SensitiveContentManagement: {
      SensitiveHistory: {},
      SensitiveWordRanking: {},
      AutoReviewConfig: {
        SensitiveTestDialog: {}
      }
    }
  }
}; 